package com.forum.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;

import java.util.Date;

/**
 * @ClassName ForumArticleLiteVo
 * @Description TODO
 * @Author suyao
 * @Version 1.0
 */
public class LikeArticleVo {
    private String articleId;
    private String author;

    private Integer authorIdentity;
    private String avatarUrl;
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date postTime;
    private String tag;
    private String title;
    private Integer readCount;

    /**
     * 点赞数
     */
    private Integer goodCount;

    /**
     * 评论数
     */
    private Integer commentCount;

    private String summary;

    public LikeArticleVo() {
    }

    public String getAuthor() {
        return author;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    @Override
    public String toString() {
        return "LikeArticleVo{" +
                "articleId='" + articleId + '\'' +
                ", author='" + author + '\'' +
                ", authorIdentity='" + authorIdentity + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", postTime=" + postTime +
                ", tag='" + tag + '\'' +
                ", title='" + title + '\'' +
                ", readCount=" + readCount +
                ", goodCount=" + goodCount +
                ", commentCount=" + commentCount +
                ", summary='" + summary + '\'' +
                '}';
    }

    public Integer getAuthorIdentity() {
        return authorIdentity;
    }

    public void setAuthorIdentity(Integer authorIdentity) {
        this.authorIdentity = authorIdentity;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Date getPostTime() {
        return postTime;
    }

    public void setPostTime(Date postTime) {
        this.postTime = postTime;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }

    public Integer getGoodCount() {
        return goodCount;
    }

    public void setGoodCount(Integer goodCount) {
        this.goodCount = goodCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

}
